<<<<<<<< HEAD:src/Demo01/Person/Person.java
package Demo01.Person;
========
package Person;
>>>>>>>> origin/master:src/Person/Person.java

public abstract class Person {
    private String name;
    private int age;
 
    public abstract void eat();
    public abstract void sleep();
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public int getAge() {
        return age;
    }
 
    public void setAge(int age) {
        this.age = age;
    }
}
 

 

 
